
#ifndef DETAILCOMM_H
#define DETAILCOMM_H

#pragma once
/////////////////////////////////////////////////////////////////////////////
// CDetailComm dialog
#include "..\UI\DialogSN.h"
class CDetailComm : public CDialogSN
{
// Construction
public:
	CDetailComm(CWnd* pParent = NULL);   // standard constructor
    void setData(CUserInfo& info);
    void getData(CUserInfo& info);
protected:
	//{{AFX_DATA(CDetailComm)
	enum { IDD = IDD_DETAIL_COMM };
	CComboBox	m_combomonth;
	CComboBox	m_comboday;
	CString	m_address;
	CString	m_email;
	CString	m_phone;
	CString	m_tele;
	int	m_year;
	int m_allow;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDetailComm)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDetailComm)
	virtual BOOL OnInitDialog();
	afx_msg void OnAllowFriend();
	afx_msg void OnAllowPrivate();
	afx_msg void OnAllowPublic();
	afx_msg void OnSelchangeMonth();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#endif // DETAILCOMM_H
